<form class="fullsearch" action="/econoplot/create_view/" method="POST">
<select class="master" style="display:none;">
{% for dataset in datasets %}
<option value="{{ dataset.key }}">{{ dataset.name }}</option>
{% endfor %}
</select>

<div class="confpage selectdata">
<div class="title" onclick="$('.confpage.selectdata .content').slideToggle ();">1. Select your data</div>
<div class="content">
<input type="text" class="query"/><br />
<select class="choices" multiple="multiple"></select><br />
<input type="submit" class="add" value="Add"/><input class="remove" type="submit" value="Remove"/><br />
<select name="datasets" class="selection" multiple="multiple"></select>
</div>
</div>

<div class="confpage configureseries">
<div class="title" onclick="$('.confpage.configureseries .content').slideToggle ();">2. Configure time series</div>
<div class="content">
<strong>Annotations</strong><br />
Display annotations from:<br />
<input type="checkbox" checked="checked" />Me<br />
<input type="checkbox" checked="checked" />Econoplot<br />
<input type="checkbox" />Everyone<br />
</div>
</div>

<div class="confpage displayoptions">
<div class="title" onclick="$('.confpage.displayoptions .content').slideToggle ();">3. Display options</div>
<div class="content">
<input class="startdate" name="start" type="text" {% if chartview %}value="{{ chartview.iso_start }}"{% endif %}/>
<em>Min: <span class="min">-</span></em>
<input class="enddate" name="end" type="text" {% if chartview %}value="{{ chartview.iso_end }}"{% endif %}/>
<em>Max: <span class="max">-</span></em>
</div>
</div>

<input type="hidden" class="min" value="Sat, 01 Jun 1863 00:00:00 GMT" />
<input type="hidden" class="max" value="Sat, 02 Jun 2163 00:00:00 GMT" />
<input type="submit" class="create" value="Create chart"/>
</form>
